//
//  HOTConstentDefine.h
//  Genpara
//
//  Created by AndyChang.zhang on 14-9-19.
//  Copyright (c) 2014年 zhangchh. All rights reserved.
//



#define REQ_ERROR_UNKNOW @"エラーが発生しました"
#define REQ_ERROR_CANCEL @"キャンセルリクエストがエラー発生しました"
#define REQ_ERROR_BAD_URL @"URLリクエストがエラー発生しました"
#define REQ_ERROR_TIMEOUT @"タイムアウト、もう一度試してください"
#define REQ_ERROR_UNSUPPORT @"リクエストURLを使用出来ない"
#define REQ_ERROR_CONT_FIND_HOST @"サーバーを見つかれません"
#define REQ_ERROR_CONT_CONNECT_HOST @"サーバーをつながれません"
#define REQ_ERROR_CONNECT_LOST @"つながれません"
#define REQ_ERROR_DNS @"DDNS解析できません"
#define REQ_ERROR_RESOURCE_UNAVAILABLE @"資源が使えません"
#define REQ_ERROR_CONNECT_INTERNET @"ネットをつながれません"

#pragma mark - -----------请求参数key---------------------
#define REQ_KEY_RESULT @"result"
#define REQ_KEY_MSG @"msg"
#define REQ_KEY_DATA @"data"

#define REQ_KEY_USER_NICK @"user_nick"
#define REQ_KEY_USER_EMAIL @"user_email"
#define REQ_KEY_USER_PWD @"user_pwd"
#define REQ_KEY_USER_SEX @"user_sex"
#define REQ_KEY_USER_BIRTH @"user_birth"
#define REQ_KEY_USER_CITY_ID @"city_id"
#define REQ_KEY_DISTRICT @"district"
#define REQ_KEY_USER_ID @"user_id"
#define REQ_KEY_USER_TOKEN @"user_token"
#define REQ_KEY_USER_BLOOD @"blood"
#define REQ_KEY_USER_HEALTH @"health"
#define REQ_KEY_SELF_INTRO @"self_intro"
#define REQ_KEY_USER_FOLLOW_SUM @"follow_sum"
#define REQ_KEY_USER_PUSH_TOKEN @"push_token"
#define REQ_KEY_USER_JOB_ID @"job_id"
#define REQ_KEY_USER_JOB_NAME @"job_name"
#define REQ_KEY_USER_RATE @"rate"
#define REQ_KEY_USEr_CERTIFICATION_ID @"certification_id"
#define REQ_KEY_CATE_ID @"category_id"
#define REQ_KEY_CATE_NAME @"category_name"
#define REQ_KEY_TYPE @"type"
#define REQ_KEY_REPLAY_CONTENT @"reply_content"
#define REQ_KEY_QUERY_TIME @"query_time"
#define REQ_KEY_QUERY_WORD @"query_word"
#define REQ_KEY_P_NUM @"p_num"
#define REQ_KEY_P_SIZE @"p_size"
#define REQ_KEY_QUERY_TIME @"query_time"
#define REQ_KEY_QUERY_WORD @"query_word"
#define REQ_KEY_P_NUM @"p_num"
#define REQ_KEY_P_SIZE @"p_size"
#define REQ_KEY_COMPENY_ID @"company_id"
#define REQ_KEY_EMOTION @"emotion"
#define REQ_KEY_REPLAY_CONTENT @"reply_content"
#define REQ_KEY_REPLAY_TITLE @"reply_title"
#define REQ_KEY_PIC_UPLOAD @"pic_upload"
#define REQ_KEY_PIC_URL @"pic_url"
#define REQ_KEY_PUSH_TRIGGER @"push_trigger"
#define REQ_KEY_MSG_CONTENT @"msg_content"

#define REQ_KEY_PWD_OLD @"pwd_old"
#define REQ_KEY_PWD_NEW @"pwd_new"

#define REQ_KEY_DIST_ID @"dist_id"
#define REQ_KEY_CITY_ID @"city_id"
#define REQ_KEY_WORKP_ID @"workp_id"
#define REQ_KEY_WORKP_NAME @"workp_name"
#define REQ_KEY_FREE_WORD @"free_word"
#define REQ_KEY_ARTICLE_ID @"article_id"
#define REQ_KEY_WORKER_SUM @"worker_sum"
#define REQ_KEY_START_TIME @"start_time"
#define REQ_KEY_END_TIME @"end_time"
#define REQ_KEY_DETAIL @"detail"
#define REQ_KEY_WORKP_DETAIL @"workp_detail"
#define REQ_KEY_CONV_TYPE @"conv_type"
#define REQ_KEY_MSG_TYPE @"msg_type"


#define REQ_KEY_MENU_PRIORITY @"priority" //menu优先级
#define REQ_KEY_MENU_ID @"menu_id"
#define REQ_KEY_CLIENT_TYPE @"client_type"
#define REQ_KEY_PRODUCT_ID @"product_id"
#define REQ_KEY_VERIFY_DATA @"verify_data"
#define REQ_KEY_PRICE @"price"
#define REQ_KEY_ORDER_ID @"order_id"

//profile 设定
#define REQ_KEY_TARGET_UID @"target_uid"
#define REQ_KEY_TARGET_ID @"target_id"
#define REQ_KEY_REMARK_NEW @"remark_new"
#define REQ_KEY_MSG_CONTENT @"msg_content"
#define REQ_KEY_RATE_SCORE @"rate_score"
#define REQ_KEY_SCORE @"score"
#define REQ_KEY_RATE_CONTENT @"rate_content"
#define REQ_KEY_RATE_TITLE @"rate_title"

//发注书相关
#define REQ_KEY_PROJECT_NAME @"project_name"
#define REQ_KEY_PUBLISH_TIME @"publish_time"
#define REQ_KEY_CONV_ID @"conv_id"
#define REQ_KEY_COST_WITHOUT_TAX @"cost_without_tax"
#define REQ_KEY_PUBLISHER_REAL_NAME @"publisher_real_name"
#define REQ_KEY_PUBLISHER_CODE @"publisher_code"
#define REQ_KEY_PUBLISHER_ADDRESS @"publisher_address"
#define REQ_KEY_PUBLISHER_TEL @"publisher_tel"
#define REQ_KEY_PUBLISHER_FAX @"publisher_fax"
#define REQ_KEY_RECEIVE_REAL_NAME @"receive_real_name"
#define REQ_KEY_PROJECT_TIME @"project_time"
#define REQ_KEY_PAY_TIME @"pay_time"
#define REQ_KEY_REMARK @"remark"

#pragma mark - -----------界面上的话术---------------------
#define MSG_LOGINING @"ログイン中"
#define MSG_LOGIN_SUCCESS @"ログインしました"
#define MSG_REGISTER @"登録中"
#define MSG_REGISTER_SUCCESS @"登録しました"
#define MSG_GAMEN_LOADING @"お待ちください..."
#define MSG_SEARCH_FAILD @"失敗しました！"
#define MSG_SEARCH_EMPTY @"情報はありません"
#define MSG_LOADING_LOCATION @"お待ちください..."
#define MSG_LOAD_LOCATION_FAILED @"失敗しました！"
#define MSG_SEARCHING @"お待ちください..."
#define MSG_NO_DATA_AGAIN @"これ以上はありません"
#define MSG_NO_DATA @"何もないです"
#define MSG_NO_SEARCH_RESULT @"検索結果がありませんでした"
#define MSG_INPUT_BAR_DONE @"Done" //输入框键盘上扩展view按钮的名称
#define MSG_INPUT_BAR_NEXT @"Next" //输入框键盘上扩展view按钮的名称
#define MSG_MESSAGE_CONTENT @"メッセージ内容"
#define MSG_SUCCESS @"成功しました！"
#define MSG_PWD_NO_SAME @"パスワードとパスワード（確認用）が一致していない"
#define MSG_PWD_VALID @"既に登録されているパスワードです。"
#define MSG_NOT_ENOUGH @"￼現が不足しています。"
#define MSG_IS_CONFIRM @"確認しますか？"
#define MSG_IS_VERIFY @"認証中..."
#define MSG_WRONG_DATE @"開始日と終了日を確認してください"
#define MSG_WRONG_PRICE @"金額を確認してください"
#define MSG_CAN_NOT_TO_PHASE @"購入機能は現在対応していません。今後、機能として追加しますのでお楽しみに！"
#define MSG_IS_FLOWING @"知り合い登録しますか？"
#define MSG_IS_SEND @"送信しますか？"
#define MSG_UPLOAD_SUCCESS @"アップロードしました"
#define MSG_IS_CONFIRM_CONTENT @"この内容でよろしいですか？"

/////////////////////////////////////
//#warning 临时中文定义




#define ALERT_TITLE @"確認"
#define ALERT_BTN_OK @"OK"
#define ALERT_BTN_CANCEL @"キャンセル"
#define ALERT_BTN_GO_TO_SHOP @"売店へ"


#pragma mark - -----------URL define---------------------
#if 0
#warning is testing

#define HOT_URL_HOST @"http://gen-para.sakura.ne.jp/"

#else
#define HOT_URL_HOST @"http://gen-para.com/"

#endif

#define HOT_URL_LOGIN @"index.php/user/login"
#define HOT_URL_REGISTER @"index.php/user/register"
#define HOT_URL_MENU_LIST @"index.php/menu/index"
#define HOT_URL_MY_SERIES_CATE_LIST @"index.php/user/my_series"
#define HOT_URL_ADD_SERIES_CATE @"index.php/user/add_series"
#define HOT_URL_CLOSURE_INDEX @"index.php/company/index"
#define HOT_URL_CLOSURE_DATE_LIST @"index.php/company/closure"
#define HOT_URL_CLOSURE_COMM_LIST @"index.php/company/closure_comments"
#define HOT_URL_MOCK_MOCK @"index.php/mock/mock"
#define HOT_URL_COMPANY_LIST @"index.php/company/company_list"
#define HOT_URL_PUSH_SAVE @"index.php/user/push_save"
#define HOT_URL_MOCK_LIST @"index.php/mock/mock_list"
#define HOT_URL_MOCK_ADD @"index.php/mock/mock_add"
#define HOT_URL_CLOSURE_REPLAY @"index.php/company/closure_replay"
#define HOT_URL_MOCK_REPLAY @"index.php/mock/mock_reply"

#define HOT_URL_USER_CONTENT @"index.php/user/content"
#define HOT_URL_MY_SERIES_INFO @"index.php/user/my_series_info"
#define HOT_URL_MY_SERIES_INFO_LIST @"index.php/user/my_series_info_reply_list"
#define HOT_URL_MY_SERIES_INFO_REPLY @"index.php/user/my_series_info_reply"

#define HOT_URL_CHANGE_PWD @"index.php/user/changepwd"

//profile 设定
#define HOT_URL_USER_GET_INFO @"index.php/user/get_info"
#define HOT_URL_USER_EDIT_INFO @"index.php/user/edit_info"
#define HOT_URL_FRIEND_IN @"index.php/friend/friend_in"
#define HOT_URL_FRIEND_DEL @"index.php/friend/friend_del"

#define HOT_URL_NOTES_NOTE_INFO @"index.php/notes/note_info"
#define HOT_URL_GET_NOTE_INFO @"index.php/notes/info"
#define HOT_URL_NOTES_CHANGE_NOTE @"index.php/notes/change_note"
#define HOT_URL_SEND_MESSAGE @"index.php/message/send_msg_info"

//message box
#define HOT_URL_USER_MY_MSG @"index.php/user/my_msg"

//批量删除会话
#define HOT_URL_MESSAGE_DEL @"index.php/message/msg_del"

//删除memo
#define HOT_URL_NOTES_DEL @"index.php/notes/del"

//評価
#define HOT_URL_USER_APPRAISAL @"index.php/user/appraisal"
//push通知
#define HOT_URL_USER_PUSH @"index.php/user/push"

//图片上传
#define HOT_URL_UPLOAD @"index.php/upload"

//投稿履历
#define HOT_URL_USER_MY_ART @"index.php/user/my_art"

//获取用户关注的人的列表
#define HOT_URL_FRIEND_INFO @"index.php/friend/friend_info"

//现场借贷中，获取空闲的工匠列表
#define HOT_URL_FREE_LIST @"index.php/free/free_list"

//发布空闲现场接口
#define HOT_URL_FREE_PUSH @"index.php/free/push"

//现场借贷中，获取空闲的工匠列表
#define HOT_URL_FREE_SCENE @"index.php/free/scene_list"

//发布空闲现场接口
#define HOT_URL_SCENE_PUSH @"index.php/free/scene_push"

//获取给该用户评价的列表
#define HOT_URL_GOAL_LIST @"index.php/user/goal_list"

//获取充值商品列表
#define HOT_URL_PRODUCT_LIST @"index.php/order/product_list"

//创建订单
#define HOT_URL_ORDER_ADD @"index.php/order/add"

//获取对某个用户的所有聊天内容
#define HOT_URL_MESSAGE_INFO @"index.php/message/msg_info"

//发送消息（对话）
#define HOT_URL_MESSAGE_SEND @"index.php/message/send_msg"

//验证支付
#define HOT_URL_ORDER_VERIFY @"index.php/order/verify"

//提交发注书
#define HOT_URL_ADD_ORDER @"index.php/message/add_order"

//密码重置
#define HOT_URL_RESET_PWD @"index.php/user/forget_passw"

//提交jpush返回对每个用户的registation_id，服务器端通过这个id进行jpush调用推送
#define HOT_URL_SAVE_JPUSH @"index.php/user/save_jpush"

//查询当前用户有多少条未读消息
#define HOT_URL_UNREAD_MESSAGES @"index.php/user/have_unread_messages"

//查询当前用户的现币余额
#define HOT_URL_FIND_BALANCE @"index.php/user/find_balance"

//查询是否扣费
#define HOT_URL_USER_IS_FREE @"index.php/user/if_free"

//屏幕尺寸
#define SCREEN_WIDTH        [[UIScreen mainScreen] bounds].size.width
#define SCREEN_HEIGHT       [[UIScreen mainScreen] bounds].size.height - 44
#define DESIGN_HEIGHT       524.0


